import request from "@/common/js/request.js"
import requestJson from "@/common/js/requestJson.js"

const api = {
    login: (code) => {
        return request({
            url: '/member_edit/user_info',
            method: 'get',
            params: {code}
        })
    },
    getList: (params) => {
        return request({
            url: '/member_edit/member_list',
            method: 'post',
            data: params
        })
    },
    user_edit: (params) => {
        return request({
            url: '/member_edit/user_edit',
            method: 'post',
            data: params
        })
    },
    user_band: (params) => {
        return request({
            url: '/member_edit/user_band',
            method: 'post',
            data: params
        })
    },
    check: (params) => {
        return request({
            url: '/member_edit/check',
            method: 'post',
            data: params
        })
    },
    depart: (params) => {
        return request({
            url: '/member_edit/depart',
            method: 'post',
            data: params
        })
    },
    job_from_depart: (params) => {
        return request({
            url: '/member_edit/job_from_depart',
            method: 'post',
            data: params
        })
    },
    getInfo: (params) => {
        return request({
            url: '/member_edit/info',
            method: 'get',
            params
        })
    },
}

export default api;